//============================================================
//write by bxl at 2019-09-10 18:09:27
//============================================================

using BCCommon.CRMEnums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.CRM.CustomerReceptionRecord
{
    /// <summary>
    /// 客户接待记录
    /// </summary>
    public class CustomerReceptionRecordRequestDto
    { 
        /// <summary>
        /// 到访时间
        /// </summary>
        [Display(Name = "到访时间 ")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DateTime ArrivalTime { get; set; }
        /// <summary>
        /// 离去时间
        /// </summary>
        [Display(Name = "离去时间")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DateTime ExitTime { get; set; }

        /// <summary>
        /// 接待类型
        /// </summary>
        [Display(Name = "接待类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CRMReceptionType ReceptionType { get; set; }
        /// <summary>
        /// 接待次数类型
        /// </summary>
        [Display(Name = "接待次数类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CRMReceptionTimesType ReceptionTimesType { get; set; }
        /// <summary>
        /// 客户姓名
        /// </summary>
        [Display(Name = "客户姓名")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string UserName { get; set; }
        /// <summary>
        /// 客户电话
        /// </summary>
        [Display(Name = "客户电话")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Phone { get; set; }
        /// <summary>
        /// 客户邮件
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 客户性别
        /// </summary>
        [Display(Name = "客户性别")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CRMSex Sex { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        [Display(Name = "客户类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CRMCustomerType CustomerType { get; set; } 
        /// <summary>
        /// 预计订车时间
        /// </summary>
        public DateTime PreestimateBookTime { get; set; }
        /// <summary>
        /// 省份编码
        /// </summary>
        [Display(Name = "省份编码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ProvinceCode { get; set; } 

        /// <summary>
        /// 市Id
        /// </summary>
        [Display(Name = "市Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CityCode { get; set; } 
         

        /// <summary>
        /// 客户地址
        /// </summary>
        [Display(Name = "客户地址")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Address { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } 

    }
}
